home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 43
/
Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso
/
-serious-
/
sound
/
lame
/
install
< prev
next >
Wrap
Text File
|
1999-06-14
|
3KB
|
88 lines
LAME 3.0x
5/99 Mark Taylor (www.sulaco.org/mp3)
=======================================================================
Building the MPEG audio encoding software:
=======================================================================
If you are reading this, you have already applied the patch to the
dist10 ISO demonstration source. If you do not have GTK 1.1.16 or
higher, or do not want the graphical frame analyzer (it uses a lot of
memory), edit the Makefile and dont define GTK and GTKLIBS. Now just
type:
% make
If it doesn't work, figure out why and send me the fix!
=======================================================================
To encode:
=======================================================================
% lame sample.wav sample.mp3
Variable Bitrate (VBR):
% lame -v sample.wav sample.mp3
VBR and specialized mid/side masking thresholds:
% lame -v -m f sample.wav sample.mp3
For more options, just type:
% lame
=======================================================================
Portability
=======================================================================
LAME 3.x has been run on many platforms - see the Makefile.
=======================================================================
BUGS:
=======================================================================
.wav files are assumed to be 44.1kHz stereo. (i.e. from a CD)
.wav file reading in broken on non-Linux versions of UNIX.
I haven't tried .aiff files, but pcm files will work on all platforms:
(default is XINU format) but try with and without -x.
To convert a 44.1kHz .wav file to a LAME readable pcm file, use:
% sox sample.wav -t raw -x -w -s -c 2 -r 44100 sample.pcm
=======================================================================
Information from the ISO README
=======================================================================
Some other flags of interest are:
BS_FORMAT
Set to BINARY to work with most MPEG audio decoders (and save space). You
can set it to ASCII, but your bitstream will only work with musicout().
HAVE_NINT
Define this if your math library already has nint().
NDEBUG
Define this to turn off all the assertions. Don't define this if you
are developing code.
DEBUG
Define this to get debugging messages printed to stdout.
For non-Unix systems you may have to define other things. Be sure to look
at common.h. If you build this on a Macintosh, be sure to use a fairly
recent set of Universal Headers. I have built this code on SunOS 4.1 and
Linux 1.3 (using gcc 2.6.3), and on the Power Macintosh (using Metrowerks
CodeWarrior 6).
<mc@fivebats.com> 1995/10/16